<!--
 * @Author: wuyuxin
 * @Date: 2022-01-09 16:52:48
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-01-09 17:06:28
 * @Description: 
-->
<template>
  <div>
    <el-menu :router="true" mode="horizontal">
      <!--基座中可以放自己的路由-->
      <el-menu-item index="/">Home</el-menu-item>
      <!--也可以引用其他的子路由-->
      <el-menu-item index="/vue">vue应用</el-menu-item>
      <el-menu-item index="/react">react应用</el-menu-item>
    </el-menu>
    <router-view></router-view>
    <div id ="vue"></div>
    <div id ="react"></div>
  </div>
</template>

<style>

</style>
